<? foreach ($chain as $el): ?>
    <?=a($el['url'], $el['text']);?>
<? endforeach; ?>